ZZ from: http://www.my1984.com.cn/article.asp? Id = 830 Note:
M_edit1 indicates the control type variable of the cedit control whose ID is idc_edit1.
M_richedit1 indicates the control type variable of the cricheditctrl control whose ID is
This article summarizes CString left (), Mid (), right () and several CString string lookup related functions to use, first need to find, CString has the following several lookup functions, respectively, find (), Reversefind (), Findoneof ().
One,
Use the buffer directlyAssert (S. getlength () = 3); // String Length = 3S. releasebuffer (); // Release excess memory. P is invalid now.Assert (S. getlength () = 3); // The length is still 3
9. cstring: RemoveInt cstring: Remove (tchar ch );Return
Many functions in cstring are similar to those in string processing in VB.1. cstring: isemptyBool isempty () const;Return Value: if the length of the cstring object is 0, a non-zero value is returned; otherwise, 0 is returned.Note: This member
In the process of software development, there are a lot of small functions to implement, although you do not need these things, but if the application pipeline will be yours
Program More professional.
1. Set the program to run automatically.
Many
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.